package edu.whut.mall.portal.enums;

/**
 * @program: d9lab-mall
 * @description: 团购记录状态
 * @author: Wayne
 * @create: 2020-05-17 22:09
 **/
public enum GroupBuyRecordStatusEnum {
    GROUP_BUY_PROCESSING(0, "团购进行中"),GROUP_BUY_SUCCESS(1,"团购已成功完成"),GROUP_BUY_CANCEL(2,"团购已取消");

    private Integer code;
    private String desc;

    private GroupBuyRecordStatusEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
